from django.conf.urls import patterns, include, url
from GApiv3.api import ptApi
from GApiv3 import views

pt3_resource = ptApi()

urlpatterns = patterns('',
    url(r'^pt/', include('GApi.urls')), #link to apps level Api
    url(r'^pt2/', include('GApiv2.urls')),
    url(r'^pt3/', views.main3, name='main3'),
    url(r'^api/', include(pt3_resource.urls)),
)

# Uncomment the next two lines to enable the admin:
# from django.contrib import admin
# admin.autodiscover()

#urlpatterns = patterns('',
    # Examples:
    # url(r'^$', 'ptApi.views.home', name='home'),
    # url(r'^ptApi/', include('ptApi.foo.urls')),

    # Uncomment the admin/doc line below to enable admin documentation:
    # url(r'^admin/doc/', include('django.contrib.admindocs.urls')),

    # Uncomment the next line to enable the admin:
    # url(r'^admin/', include(admin.site.urls)),
#)
